services.borgbackup.jobs.<name>.preHook
Shell commands to run before the backup. This can for example be used to mount file systems.
- Type
strings concatenated with "\n"- Default
""- Example
'' # To add excluded paths at runtime extraCreateArgs+=("--exclude" "/some/path") ''- Declared
- <nixpkgs/nixos/modules/services/backup/borgbackup.nix>